load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "xprog_lib",
    srcs = ["xprog.go"],
    importpath = "github.com/pingcap/tidb/tools/check/xprog",
    visibility = ["//visibility:private"],
)

go_binary(
    name = "xprog",
    embed = [":xprog_lib"],
    visibility = ["//visibility:public"],
)
